package com.qf.spring2202.springmybaties.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data //生成熟悉的setter和getter方法,生成tostring方法
@AllArgsConstructor //生成全参构造函数
@NoArgsConstructor  //生成无参构造函数
public class User implements Serializable {
    private Integer id;
    private String name;
    private String password;
    private String sex;
    private Date birthday;
    private Date registTime;
    private String auth;
}
